import Vue from "vue";

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import App from "./App.vue";

Vue.use(ElementUI);

// 小型 vuex
Vue.prototype.EventBus = new Vue({
  data() {
    return {
      title: "hello EventBus",
      count: 100,
    };
  },
});

new Vue({
  render: (h) => h(App),
}).$mount("#app");
